package cn.cau.epidemicsurveysystem.dao;

import cn.cau.epidemicsurveysystem.bean.DiseaseInfoBean;
import org.springframework.data.jpa.repository.JpaRepository;

public interface DiseaseInfoRepository extends JpaRepository<DiseaseInfoBean,Integer> {
    DiseaseInfoBean findDiseaseInfoBeanByDiseaseName(String diseaseName);

    @Override
    <S extends DiseaseInfoBean> S save(S entity);
}
